﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface SalesorderSI
    {
        //4个条件分页查询
        Task<List<PO_Salesorder>> Fye(int pageSize, int currentPage, string Number = null, string Status = null, string Cuname = null, DateTime? date = null, DateTime? date1 = null);
        //查询总条数
        Task<List<PO_Salesorder>> Qu();
        //销售订单添加数据
        Task<int> Add(PO_Salesorder pO_Salesorder);
        //销售订单审核
        Task<int> XsShen(PO_Salesorder pO_Salesorder, string to);
        //销售订单批量删除
        Task<int> XsDel(List<int> Ids);
        //销售订单修改
        Task<int> XsUpd(PO_Salesorder pO_Salesorder);
    }
}
